package com.sams.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ProcessmanageExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ProcessmanageExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTitleIsNull() {
            addCriterion("title is null");
            return (Criteria) this;
        }

        public Criteria andTitleIsNotNull() {
            addCriterion("title is not null");
            return (Criteria) this;
        }

        public Criteria andTitleEqualTo(String value) {
            addCriterion("title =", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotEqualTo(String value) {
            addCriterion("title <>", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThan(String value) {
            addCriterion("title >", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThanOrEqualTo(String value) {
            addCriterion("title >=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThan(String value) {
            addCriterion("title <", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThanOrEqualTo(String value) {
            addCriterion("title <=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLike(String value) {
            addCriterion("title like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotLike(String value) {
            addCriterion("title not like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleIn(List<String> values) {
            addCriterion("title in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotIn(List<String> values) {
            addCriterion("title not in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleBetween(String value1, String value2) {
            addCriterion("title between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotBetween(String value1, String value2) {
            addCriterion("title not between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andBasicfileIsNull() {
            addCriterion("basicfile is null");
            return (Criteria) this;
        }

        public Criteria andBasicfileIsNotNull() {
            addCriterion("basicfile is not null");
            return (Criteria) this;
        }

        public Criteria andBasicfileEqualTo(String value) {
            addCriterion("basicfile =", value, "basicfile");
            return (Criteria) this;
        }

        public Criteria andBasicfileNotEqualTo(String value) {
            addCriterion("basicfile <>", value, "basicfile");
            return (Criteria) this;
        }

        public Criteria andBasicfileGreaterThan(String value) {
            addCriterion("basicfile >", value, "basicfile");
            return (Criteria) this;
        }

        public Criteria andBasicfileGreaterThanOrEqualTo(String value) {
            addCriterion("basicfile >=", value, "basicfile");
            return (Criteria) this;
        }

        public Criteria andBasicfileLessThan(String value) {
            addCriterion("basicfile <", value, "basicfile");
            return (Criteria) this;
        }

        public Criteria andBasicfileLessThanOrEqualTo(String value) {
            addCriterion("basicfile <=", value, "basicfile");
            return (Criteria) this;
        }

        public Criteria andBasicfileLike(String value) {
            addCriterion("basicfile like", value, "basicfile");
            return (Criteria) this;
        }

        public Criteria andBasicfileNotLike(String value) {
            addCriterion("basicfile not like", value, "basicfile");
            return (Criteria) this;
        }

        public Criteria andBasicfileIn(List<String> values) {
            addCriterion("basicfile in", values, "basicfile");
            return (Criteria) this;
        }

        public Criteria andBasicfileNotIn(List<String> values) {
            addCriterion("basicfile not in", values, "basicfile");
            return (Criteria) this;
        }

        public Criteria andBasicfileBetween(String value1, String value2) {
            addCriterion("basicfile between", value1, value2, "basicfile");
            return (Criteria) this;
        }

        public Criteria andBasicfileNotBetween(String value1, String value2) {
            addCriterion("basicfile not between", value1, value2, "basicfile");
            return (Criteria) this;
        }

        public Criteria andPromisefileIsNull() {
            addCriterion("promisefile is null");
            return (Criteria) this;
        }

        public Criteria andPromisefileIsNotNull() {
            addCriterion("promisefile is not null");
            return (Criteria) this;
        }

        public Criteria andPromisefileEqualTo(String value) {
            addCriterion("promisefile =", value, "promisefile");
            return (Criteria) this;
        }

        public Criteria andPromisefileNotEqualTo(String value) {
            addCriterion("promisefile <>", value, "promisefile");
            return (Criteria) this;
        }

        public Criteria andPromisefileGreaterThan(String value) {
            addCriterion("promisefile >", value, "promisefile");
            return (Criteria) this;
        }

        public Criteria andPromisefileGreaterThanOrEqualTo(String value) {
            addCriterion("promisefile >=", value, "promisefile");
            return (Criteria) this;
        }

        public Criteria andPromisefileLessThan(String value) {
            addCriterion("promisefile <", value, "promisefile");
            return (Criteria) this;
        }

        public Criteria andPromisefileLessThanOrEqualTo(String value) {
            addCriterion("promisefile <=", value, "promisefile");
            return (Criteria) this;
        }

        public Criteria andPromisefileLike(String value) {
            addCriterion("promisefile like", value, "promisefile");
            return (Criteria) this;
        }

        public Criteria andPromisefileNotLike(String value) {
            addCriterion("promisefile not like", value, "promisefile");
            return (Criteria) this;
        }

        public Criteria andPromisefileIn(List<String> values) {
            addCriterion("promisefile in", values, "promisefile");
            return (Criteria) this;
        }

        public Criteria andPromisefileNotIn(List<String> values) {
            addCriterion("promisefile not in", values, "promisefile");
            return (Criteria) this;
        }

        public Criteria andPromisefileBetween(String value1, String value2) {
            addCriterion("promisefile between", value1, value2, "promisefile");
            return (Criteria) this;
        }

        public Criteria andPromisefileNotBetween(String value1, String value2) {
            addCriterion("promisefile not between", value1, value2, "promisefile");
            return (Criteria) this;
        }

        public Criteria andLeaderfileIsNull() {
            addCriterion("leaderfile is null");
            return (Criteria) this;
        }

        public Criteria andLeaderfileIsNotNull() {
            addCriterion("leaderfile is not null");
            return (Criteria) this;
        }

        public Criteria andLeaderfileEqualTo(String value) {
            addCriterion("leaderfile =", value, "leaderfile");
            return (Criteria) this;
        }

        public Criteria andLeaderfileNotEqualTo(String value) {
            addCriterion("leaderfile <>", value, "leaderfile");
            return (Criteria) this;
        }

        public Criteria andLeaderfileGreaterThan(String value) {
            addCriterion("leaderfile >", value, "leaderfile");
            return (Criteria) this;
        }

        public Criteria andLeaderfileGreaterThanOrEqualTo(String value) {
            addCriterion("leaderfile >=", value, "leaderfile");
            return (Criteria) this;
        }

        public Criteria andLeaderfileLessThan(String value) {
            addCriterion("leaderfile <", value, "leaderfile");
            return (Criteria) this;
        }

        public Criteria andLeaderfileLessThanOrEqualTo(String value) {
            addCriterion("leaderfile <=", value, "leaderfile");
            return (Criteria) this;
        }

        public Criteria andLeaderfileLike(String value) {
            addCriterion("leaderfile like", value, "leaderfile");
            return (Criteria) this;
        }

        public Criteria andLeaderfileNotLike(String value) {
            addCriterion("leaderfile not like", value, "leaderfile");
            return (Criteria) this;
        }

        public Criteria andLeaderfileIn(List<String> values) {
            addCriterion("leaderfile in", values, "leaderfile");
            return (Criteria) this;
        }

        public Criteria andLeaderfileNotIn(List<String> values) {
            addCriterion("leaderfile not in", values, "leaderfile");
            return (Criteria) this;
        }

        public Criteria andLeaderfileBetween(String value1, String value2) {
            addCriterion("leaderfile between", value1, value2, "leaderfile");
            return (Criteria) this;
        }

        public Criteria andLeaderfileNotBetween(String value1, String value2) {
            addCriterion("leaderfile not between", value1, value2, "leaderfile");
            return (Criteria) this;
        }

        public Criteria andAssessfileIsNull() {
            addCriterion("assessfile is null");
            return (Criteria) this;
        }

        public Criteria andAssessfileIsNotNull() {
            addCriterion("assessfile is not null");
            return (Criteria) this;
        }

        public Criteria andAssessfileEqualTo(String value) {
            addCriterion("assessfile =", value, "assessfile");
            return (Criteria) this;
        }

        public Criteria andAssessfileNotEqualTo(String value) {
            addCriterion("assessfile <>", value, "assessfile");
            return (Criteria) this;
        }

        public Criteria andAssessfileGreaterThan(String value) {
            addCriterion("assessfile >", value, "assessfile");
            return (Criteria) this;
        }

        public Criteria andAssessfileGreaterThanOrEqualTo(String value) {
            addCriterion("assessfile >=", value, "assessfile");
            return (Criteria) this;
        }

        public Criteria andAssessfileLessThan(String value) {
            addCriterion("assessfile <", value, "assessfile");
            return (Criteria) this;
        }

        public Criteria andAssessfileLessThanOrEqualTo(String value) {
            addCriterion("assessfile <=", value, "assessfile");
            return (Criteria) this;
        }

        public Criteria andAssessfileLike(String value) {
            addCriterion("assessfile like", value, "assessfile");
            return (Criteria) this;
        }

        public Criteria andAssessfileNotLike(String value) {
            addCriterion("assessfile not like", value, "assessfile");
            return (Criteria) this;
        }

        public Criteria andAssessfileIn(List<String> values) {
            addCriterion("assessfile in", values, "assessfile");
            return (Criteria) this;
        }

        public Criteria andAssessfileNotIn(List<String> values) {
            addCriterion("assessfile not in", values, "assessfile");
            return (Criteria) this;
        }

        public Criteria andAssessfileBetween(String value1, String value2) {
            addCriterion("assessfile between", value1, value2, "assessfile");
            return (Criteria) this;
        }

        public Criteria andAssessfileNotBetween(String value1, String value2) {
            addCriterion("assessfile not between", value1, value2, "assessfile");
            return (Criteria) this;
        }

        public Criteria andMeetingfileIsNull() {
            addCriterion("meetingfile is null");
            return (Criteria) this;
        }

        public Criteria andMeetingfileIsNotNull() {
            addCriterion("meetingfile is not null");
            return (Criteria) this;
        }

        public Criteria andMeetingfileEqualTo(String value) {
            addCriterion("meetingfile =", value, "meetingfile");
            return (Criteria) this;
        }

        public Criteria andMeetingfileNotEqualTo(String value) {
            addCriterion("meetingfile <>", value, "meetingfile");
            return (Criteria) this;
        }

        public Criteria andMeetingfileGreaterThan(String value) {
            addCriterion("meetingfile >", value, "meetingfile");
            return (Criteria) this;
        }

        public Criteria andMeetingfileGreaterThanOrEqualTo(String value) {
            addCriterion("meetingfile >=", value, "meetingfile");
            return (Criteria) this;
        }

        public Criteria andMeetingfileLessThan(String value) {
            addCriterion("meetingfile <", value, "meetingfile");
            return (Criteria) this;
        }

        public Criteria andMeetingfileLessThanOrEqualTo(String value) {
            addCriterion("meetingfile <=", value, "meetingfile");
            return (Criteria) this;
        }

        public Criteria andMeetingfileLike(String value) {
            addCriterion("meetingfile like", value, "meetingfile");
            return (Criteria) this;
        }

        public Criteria andMeetingfileNotLike(String value) {
            addCriterion("meetingfile not like", value, "meetingfile");
            return (Criteria) this;
        }

        public Criteria andMeetingfileIn(List<String> values) {
            addCriterion("meetingfile in", values, "meetingfile");
            return (Criteria) this;
        }

        public Criteria andMeetingfileNotIn(List<String> values) {
            addCriterion("meetingfile not in", values, "meetingfile");
            return (Criteria) this;
        }

        public Criteria andMeetingfileBetween(String value1, String value2) {
            addCriterion("meetingfile between", value1, value2, "meetingfile");
            return (Criteria) this;
        }

        public Criteria andMeetingfileNotBetween(String value1, String value2) {
            addCriterion("meetingfile not between", value1, value2, "meetingfile");
            return (Criteria) this;
        }

        public Criteria andSignaturefileIsNull() {
            addCriterion("signaturefile is null");
            return (Criteria) this;
        }

        public Criteria andSignaturefileIsNotNull() {
            addCriterion("signaturefile is not null");
            return (Criteria) this;
        }

        public Criteria andSignaturefileEqualTo(String value) {
            addCriterion("signaturefile =", value, "signaturefile");
            return (Criteria) this;
        }

        public Criteria andSignaturefileNotEqualTo(String value) {
            addCriterion("signaturefile <>", value, "signaturefile");
            return (Criteria) this;
        }

        public Criteria andSignaturefileGreaterThan(String value) {
            addCriterion("signaturefile >", value, "signaturefile");
            return (Criteria) this;
        }

        public Criteria andSignaturefileGreaterThanOrEqualTo(String value) {
            addCriterion("signaturefile >=", value, "signaturefile");
            return (Criteria) this;
        }

        public Criteria andSignaturefileLessThan(String value) {
            addCriterion("signaturefile <", value, "signaturefile");
            return (Criteria) this;
        }

        public Criteria andSignaturefileLessThanOrEqualTo(String value) {
            addCriterion("signaturefile <=", value, "signaturefile");
            return (Criteria) this;
        }

        public Criteria andSignaturefileLike(String value) {
            addCriterion("signaturefile like", value, "signaturefile");
            return (Criteria) this;
        }

        public Criteria andSignaturefileNotLike(String value) {
            addCriterion("signaturefile not like", value, "signaturefile");
            return (Criteria) this;
        }

        public Criteria andSignaturefileIn(List<String> values) {
            addCriterion("signaturefile in", values, "signaturefile");
            return (Criteria) this;
        }

        public Criteria andSignaturefileNotIn(List<String> values) {
            addCriterion("signaturefile not in", values, "signaturefile");
            return (Criteria) this;
        }

        public Criteria andSignaturefileBetween(String value1, String value2) {
            addCriterion("signaturefile between", value1, value2, "signaturefile");
            return (Criteria) this;
        }

        public Criteria andSignaturefileNotBetween(String value1, String value2) {
            addCriterion("signaturefile not between", value1, value2, "signaturefile");
            return (Criteria) this;
        }

        public Criteria andBankfileIsNull() {
            addCriterion("bankfile is null");
            return (Criteria) this;
        }

        public Criteria andBankfileIsNotNull() {
            addCriterion("bankfile is not null");
            return (Criteria) this;
        }

        public Criteria andBankfileEqualTo(String value) {
            addCriterion("bankfile =", value, "bankfile");
            return (Criteria) this;
        }

        public Criteria andBankfileNotEqualTo(String value) {
            addCriterion("bankfile <>", value, "bankfile");
            return (Criteria) this;
        }

        public Criteria andBankfileGreaterThan(String value) {
            addCriterion("bankfile >", value, "bankfile");
            return (Criteria) this;
        }

        public Criteria andBankfileGreaterThanOrEqualTo(String value) {
            addCriterion("bankfile >=", value, "bankfile");
            return (Criteria) this;
        }

        public Criteria andBankfileLessThan(String value) {
            addCriterion("bankfile <", value, "bankfile");
            return (Criteria) this;
        }

        public Criteria andBankfileLessThanOrEqualTo(String value) {
            addCriterion("bankfile <=", value, "bankfile");
            return (Criteria) this;
        }

        public Criteria andBankfileLike(String value) {
            addCriterion("bankfile like", value, "bankfile");
            return (Criteria) this;
        }

        public Criteria andBankfileNotLike(String value) {
            addCriterion("bankfile not like", value, "bankfile");
            return (Criteria) this;
        }

        public Criteria andBankfileIn(List<String> values) {
            addCriterion("bankfile in", values, "bankfile");
            return (Criteria) this;
        }

        public Criteria andBankfileNotIn(List<String> values) {
            addCriterion("bankfile not in", values, "bankfile");
            return (Criteria) this;
        }

        public Criteria andBankfileBetween(String value1, String value2) {
            addCriterion("bankfile between", value1, value2, "bankfile");
            return (Criteria) this;
        }

        public Criteria andBankfileNotBetween(String value1, String value2) {
            addCriterion("bankfile not between", value1, value2, "bankfile");
            return (Criteria) this;
        }

        public Criteria andUidIsNull() {
            addCriterion("uid is null");
            return (Criteria) this;
        }

        public Criteria andUidIsNotNull() {
            addCriterion("uid is not null");
            return (Criteria) this;
        }

        public Criteria andUidEqualTo(Integer value) {
            addCriterion("uid =", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotEqualTo(Integer value) {
            addCriterion("uid <>", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThan(Integer value) {
            addCriterion("uid >", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("uid >=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThan(Integer value) {
            addCriterion("uid <", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThanOrEqualTo(Integer value) {
            addCriterion("uid <=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidIn(List<Integer> values) {
            addCriterion("uid in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotIn(List<Integer> values) {
            addCriterion("uid not in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidBetween(Integer value1, Integer value2) {
            addCriterion("uid between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotBetween(Integer value1, Integer value2) {
            addCriterion("uid not between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andSchidIsNull() {
            addCriterion("schid is null");
            return (Criteria) this;
        }

        public Criteria andSchidIsNotNull() {
            addCriterion("schid is not null");
            return (Criteria) this;
        }

        public Criteria andSchidEqualTo(Integer value) {
            addCriterion("schid =", value, "schid");
            return (Criteria) this;
        }

        public Criteria andSchidNotEqualTo(Integer value) {
            addCriterion("schid <>", value, "schid");
            return (Criteria) this;
        }

        public Criteria andSchidGreaterThan(Integer value) {
            addCriterion("schid >", value, "schid");
            return (Criteria) this;
        }

        public Criteria andSchidGreaterThanOrEqualTo(Integer value) {
            addCriterion("schid >=", value, "schid");
            return (Criteria) this;
        }

        public Criteria andSchidLessThan(Integer value) {
            addCriterion("schid <", value, "schid");
            return (Criteria) this;
        }

        public Criteria andSchidLessThanOrEqualTo(Integer value) {
            addCriterion("schid <=", value, "schid");
            return (Criteria) this;
        }

        public Criteria andSchidIn(List<Integer> values) {
            addCriterion("schid in", values, "schid");
            return (Criteria) this;
        }

        public Criteria andSchidNotIn(List<Integer> values) {
            addCriterion("schid not in", values, "schid");
            return (Criteria) this;
        }

        public Criteria andSchidBetween(Integer value1, Integer value2) {
            addCriterion("schid between", value1, value2, "schid");
            return (Criteria) this;
        }

        public Criteria andSchidNotBetween(Integer value1, Integer value2) {
            addCriterion("schid not between", value1, value2, "schid");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andFinishdateIsNull() {
            addCriterion("finishdate is null");
            return (Criteria) this;
        }

        public Criteria andFinishdateIsNotNull() {
            addCriterion("finishdate is not null");
            return (Criteria) this;
        }

        public Criteria andFinishdateEqualTo(Date value) {
            addCriterion("finishdate =", value, "finishdate");
            return (Criteria) this;
        }

        public Criteria andFinishdateNotEqualTo(Date value) {
            addCriterion("finishdate <>", value, "finishdate");
            return (Criteria) this;
        }

        public Criteria andFinishdateGreaterThan(Date value) {
            addCriterion("finishdate >", value, "finishdate");
            return (Criteria) this;
        }

        public Criteria andFinishdateGreaterThanOrEqualTo(Date value) {
            addCriterion("finishdate >=", value, "finishdate");
            return (Criteria) this;
        }

        public Criteria andFinishdateLessThan(Date value) {
            addCriterion("finishdate <", value, "finishdate");
            return (Criteria) this;
        }

        public Criteria andFinishdateLessThanOrEqualTo(Date value) {
            addCriterion("finishdate <=", value, "finishdate");
            return (Criteria) this;
        }

        public Criteria andFinishdateIn(List<Date> values) {
            addCriterion("finishdate in", values, "finishdate");
            return (Criteria) this;
        }

        public Criteria andFinishdateNotIn(List<Date> values) {
            addCriterion("finishdate not in", values, "finishdate");
            return (Criteria) this;
        }

        public Criteria andFinishdateBetween(Date value1, Date value2) {
            addCriterion("finishdate between", value1, value2, "finishdate");
            return (Criteria) this;
        }

        public Criteria andFinishdateNotBetween(Date value1, Date value2) {
            addCriterion("finishdate not between", value1, value2, "finishdate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}